package com.snail.utils;

/**
 * 字幕工具类1111
 */
public class Subtitle {
    private final long startTimeMillis;
    private final long endTimeMillis;
    private final String text;

    public Subtitle(long startTimeMillis, long endTimeMillis, String text) {
        this.startTimeMillis = startTimeMillis;
        this.endTimeMillis = endTimeMillis;
        this.text = text;
    }

    // getters
    public long getStartTimeMillis() { return startTimeMillis; }
    public long getEndTimeMillis() { return endTimeMillis; }
    public String getText() { return text; }
}